#!/usr/bin/python
# coding:utf-8
# Copyright 2017, JAKA
# All rights reserved.
ADDON_UNIX_COM_PREFIX = "\x00"  # utf-8 '\0'
ADDON_CMD_CH = ADDON_UNIX_COM_PREFIX + "/jaka/ADDON_CMD_CHANNEL"

CMD_START = 1
CMD_STOP = 2
CMD_STOPALL = 3
CMD_GET_ALIVE_STATUS = 4
CMD_INSTALL = 5
CMD_GET_ADDON_LIST = 6
CMD_DELETE_ADDON = 7
CMD_PACK_ADDON = 8
CMD_GET_INSTALL_STATUS = 9
CMD_INSTALL_ASYNC = 10
CMD_PACK_ADDON_ASYNC = 11
CMD_CONVERT_ADDON = 12

STAT_START = "START"
STAT_END = "END"

__all__ = [
    "ADDON_CMD_CH",
    "CMD_START",
    "CMD_STOP",
    "CMD_STOPALL",
    "CMD_GET_ALIVE_STATUS",
    "CMD_INSTALL",
    "CMD_GET_ADDON_LIST",
    "CMD_DELETE_ADDON",
    "CMD_PACK_ADDON",
    "CMD_GET_INSTALL_STATUS",
    "CMD_INSTALL_ASYNC",
    "CMD_PACK_ADDON_ASYNC",
]
